package com.xxl.job.admin;

import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description: xxl-job平台启动类
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.workflow
 * @Author: ChenYongJia
 * @CreateTime: 2021-10-22
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication
public class XxlJobAdminApplication {

	/**
	 * 项目启动方法
	 *
	 * @param args the input arguments
	 * @date 2021-10-22
	 * @author Sunny Chen
	 */
	public static void main(String[] args) {
		log.info("梦享云--xxl-job平台项目开始启动ing！======>{}", DateUtil.now());
		SpringApplication.run(XxlJobAdminApplication.class, args);
		log.info("梦享云--xxl-job平台项目启动成功ing.......！======>{}", DateUtil.now());
	}

}